package wms

import (
	"sync"
)

// Senderinfowlbwmsstockinordernotifywl 结构体
type Senderinfowlbwmsstockinordernotifywl struct {
	// 发件方电话
	SenderPhone string `json:"sender_phone,omitempty" xml:"sender_phone,omitempty"`
	// 发件方手机
	SenderMobile string `json:"sender_mobile,omitempty" xml:"sender_mobile,omitempty"`
	// 发件方名称，销退场景下填写买家名称； 调拨场景下填写调拨出仓库名称；
	SenderName string `json:"sender_name,omitempty" xml:"sender_name,omitempty"`
	// 发件方编码，销退场景下填写买家nick，旺旺号等； 调拨场景下填写调拨出仓库编码；
	SenderCode string `json:"sender_code,omitempty" xml:"sender_code,omitempty"`
	// 发件方地址
	SenderAddress string `json:"sender_address,omitempty" xml:"sender_address,omitempty"`
	// 发件方镇
	SenderTown string `json:"sender_town,omitempty" xml:"sender_town,omitempty"`
	// 发件方区县
	SenderArea string `json:"sender_area,omitempty" xml:"sender_area,omitempty"`
	// 发件方城市
	SenderCity string `json:"sender_city,omitempty" xml:"sender_city,omitempty"`
	// 发件方省份
	SenderProvince string `json:"sender_province,omitempty" xml:"sender_province,omitempty"`
	// 发件方邮编
	SenderZipCode string `json:"sender_zip_code,omitempty" xml:"sender_zip_code,omitempty"`
}

var poolSenderinfowlbwmsstockinordernotifywl = sync.Pool{
	New: func() any {
		return new(Senderinfowlbwmsstockinordernotifywl)
	},
}

// GetSenderinfowlbwmsstockinordernotifywl() 从对象池中获取Senderinfowlbwmsstockinordernotifywl
func GetSenderinfowlbwmsstockinordernotifywl() *Senderinfowlbwmsstockinordernotifywl {
	return poolSenderinfowlbwmsstockinordernotifywl.Get().(*Senderinfowlbwmsstockinordernotifywl)
}

// ReleaseSenderinfowlbwmsstockinordernotifywl 释放Senderinfowlbwmsstockinordernotifywl
func ReleaseSenderinfowlbwmsstockinordernotifywl(v *Senderinfowlbwmsstockinordernotifywl) {
	v.SenderPhone = ""
	v.SenderMobile = ""
	v.SenderName = ""
	v.SenderCode = ""
	v.SenderAddress = ""
	v.SenderTown = ""
	v.SenderArea = ""
	v.SenderCity = ""
	v.SenderProvince = ""
	v.SenderZipCode = ""
	poolSenderinfowlbwmsstockinordernotifywl.Put(v)
}
